<%@page import="entities.Domain"%>
<%@page import="java.util.TreeMap"%>
<%@page import="helpers.UrlHelper"%>

<%
TreeMap check = (TreeMap) request.getAttribute("check");
Domain domain = (Domain) request.getAttribute("domain");
String form = (String) request.getAttribute("form");
%>

<jsp:include page="/admin/layouts/header.jsp" />

<script type="text/javascript" src="/admin/js/form_domain.js"></script>
		
		<div class="maincontent noright">
        	<div class="maincontentinner">
                <ul class="maintabmenu multipletabmenu">
                	<li><a href="/admin/blacklist/list">List Owner Domain Change</a></li>
                	<li class="current"><a href="/admin/blacklist/add">Add blacklist domain</a></li>
                </ul><!--maintabmenu-->
                
                <div class="content">
					<jsp:include page="/admin/elements/message_box.jsp" />
					
                    <div class="contenttitle">
                    	<h2 class="form"><span>Add blacklist domain</span></h2>
                    </div><!--contenttitle-->
            
                    <form method="post" action="#" class="stdform stdform2" id="edit_domain_form">
                    	
                        <p>
                        	<label>Domain</label>
                            <span class="field">
                            	<input type="text" class="smallinput" name="domain" id="d_domain" value="<%=domain.getDomain()%>">
                            	<% if (check.get("domain") != null) { %>
									<label for="d_domain" generated="true" class="error"><%=check.get("domain") %></label>
								<% } %>
                            </span>
                        </p>
                        
                        <p class="stdformbutton">
                        	<button class="submit radius2">Submit Button</button>
                            <input type="reset" value="Reset Button" class="reset radius2">
                        </p>
                        
                    </form>
                    
                    <br clear="all">
                    
                </div><!--content-->
                
            </div><!--maincontentinner-->
            
            <jsp:include page="/admin/elements/copyright.jsp" />
            
        </div>

<jsp:include page="/admin/layouts/footer.jsp" />